package com.woniuxy.three.pms.order.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.woniuxy.three.pms.bean.OrderChildBean;
import com.woniuxy.three.pms.dao.OrderBeanMapper;
import com.woniuxy.three.pms.dao.OrderChildBeanMapper;
import com.woniuxy.three.pms.order.service.IOrderChildService;


public class OrderChildService implements IOrderChildService {
	@Autowired
	private OrderChildBeanMapper dao;
	@Autowired
	private OrderBeanMapper orderdao;
	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(OrderChildBean record) {
		
		int number=dao.insert(record);
		return 0;
	}

	@Override
	public int insertSelective(OrderChildBean record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public OrderChildBean selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int updateByPrimaryKeySelective(OrderChildBean record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByPrimaryKey(OrderChildBean record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<OrderChildBean> findbyorderid(Integer id) {
		
		return null;
	}

	@Override
	public int deleteByOrderid(Integer orderid) {
		int number=dao.deleteByOrderid(orderid);
		return number;
	}


}
